﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>nfinal.json全局配置</title>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shCore.js"></script>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shBrushJScript.js"></script>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shBrushXml.js"></script>
    <link type="text/css" rel="stylesheet" href="../../Content/highlighter/styles/shCore.css"/>
    <link type="text/css" rel="stylesheet" href="../../Content/highlighter/styles/shCoreEclipse.css" />
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
	<h3>nfinal.json全局配置</h3>
    <p>
    1.nfinal.json为全局配置。<br/>
    </p>
    <pre class="brush: javascript;">    
    {
      //调试设置
      "debug": {
        //是否开启调试
        "enable": true,
        //调试时的URL根目录
        "url": "http://localhost:8083",
        //与控制器相对应的调试目录
        "directory": "/Debug"
      },
      //项目类型，分为Console,Web,Library以及Window
      "projectType": "Console",
      //服务器配置
      "server": {
        //地址，主要用于外网回调等
        "url": "http://www.domain.com",
        //首页设置
        "indexDocument": "/Index.html"
      }
    }
    </pre>
    2.配置文件的位置<br/>
    与程序集生成目录的位置一致。<br />
</body>
</html>
